<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>test seajs</title>
<script type="text/javascript" src="<%=request.getContextPath()%>/resource/js/sea.js">
</script>
</head>
<body>
</body>
</html>
<script>
seajs.config({
	base: "./",
	alias: {
	"jquery": "<%=request.getContextPath()%>/js/easyui/jquery.min.js"
	},
	preload:["jquery"]
	});
 seajs.use("<%=request.getContextPath()%>/js/component/ajax",function(app){
		var ajax = app.init();
		ajax.success(function(code,msg,data){
			alert(JSON.stringify(data));
		}).post("<%=request.getContextPath()%>/base/user/getAllUser.do",null,null);
	});
</script>